﻿using System;
using ControlCenter.Model;
using System.Collections.Generic;
using System.Threading.Tasks;
using ControlCenter.Model.WebApiDto;
using Microsoft.AspNetCore.Http;

namespace ControlCenter.ApplicationService
{
    /// <summary>
    /// 文档服务接口
    /// </summary>
    public interface IFileService
    {
        /// <summary>
        /// 上传文件
        /// </summary>
        /// <param name="file"></param>
        /// <param name="type"></param>
        /// <returns></returns>
        Task<UploadNupkgFileReturnDto> UploadPackage(IFormFile file, string type);
    }
}
